Optimal. Leaf size=469 \[ -\frac {\tan ^{-1}\left (\frac {\sqrt {-a} \cos (c+d x)}{\sqrt {a+b \cos ^4(c+d x)-2 b \cos ^2(c+d x)+b}}\right )}{2 \sqrt {-a} d}+\frac {\sqrt [4]{b} \sqrt [4]{a+b} \left (\sqrt {b}-\sqrt {a+b}\right ) \left (\frac {\sqrt {b} \cos ^2(c+d x)}{\sqrt {a+b}}+1\right ) \sqrt {\frac {a+b \cos ^4(c+d x)-2 b \cos ^2(c+d x)+b}{(a+b) \left (\frac {\sqrt {b} \cos ^2(c+d x)}{\sqrt {a+b}}+1\right )^2}} F\left (2 \tan ^{-1}\left (\frac {\sqrt [4]{b} \cos (c+d x)}{\sqrt [4]{a+b}}\right )|\frac {1}{2} \left (\frac {\sqrt {b}}{\sqrt {a+b}}+1\right )\right )}{2 a d \sqrt {a+b \cos ^4(c+d x)-2 b \cos ^2(c+d x)+b}}-\frac {\sqrt [4]{a+b} \left (\sqrt {b}-\sqrt {a+b}\right )^2 \left (\frac {\sqrt {b} \cos ^2(c+d x)}{\sqrt {a+b}}+1\right ) \sqrt {\frac {a+b \cos ^4(c+d x)-2 b \cos ^2(c+d x)+b}{(a+b) \left (\frac {\sqrt {b} \cos ^2(c+d x)}{\sqrt {a+b}}+1\right )^2}} \Pi \left (\frac {\left (\sqrt {b}+\sqrt {a+b}\right )^2}{4 \sqrt {b} \sqrt {a+b}};2 \tan ^{-1}\left (\frac {\sqrt [4]{b} \cos (c+d x)}{\sqrt [4]{a+b}}\right )|\frac {1}{2} \left (\frac {\sqrt {b}}{\sqrt {a+b}}+1\right )\right )}{4 a \sqrt [4]{b} d \sqrt {a+b \cos ^4(c+d x)-2 b \cos ^2(c+d x)+b}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.43, antiderivative size = 469, normalized size of antiderivative = 1.00, number of steps used = 4, number of rules used = 4, integrand size = 23, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.174, Rules used = {3215, 1216, 1103, 1706} \[ -\frac {\tan ^{-1}\left (\frac {\sqrt {-a} \cos (c+d x)}{\sqrt {a+b \cos ^4(c+d x)-2 b \cos ^2(c+d x)+b}}\right )}{2 \sqrt {-a} d}+\frac {\sqrt [4]{b} \sqrt [4]{a+b} \left (\sqrt {b}-\sqrt {a+b}\right ) \left (\frac {\sqrt {b} \cos ^2(c+d x)}{\sqrt {a+b}}+1\right ) \sqrt {\frac {a+b \cos ^4(c+d x)-2 b \cos ^2(c+d x)+b}{(a+b) \left (\frac {\sqrt {b} \cos ^2(c+d x)}{\sqrt {a+b}}+1\right )^2}} F\left (2 \tan ^{-1}\left (\frac {\sqrt [4]{b} \cos (c+d x)}{\sqrt [4]{a+b}}\right )|\frac {1}{2} \left (\frac {\sqrt {b}}{\sqrt {a+b}}+1\right )\right )}{2 a d \sqrt {a+b \cos ^4(c+d x)-2 b \cos ^2(c+d x)+b}}-\frac {\sqrt [4]{a+b} \left (\sqrt {b}-\sqrt {a+b}\right )^2 \left (\frac {\sqrt {b} \cos ^2(c+d x)}{\sqrt {a+b}}+1\right ) \sqrt {\frac {a+b \cos ^4(c+d x)-2 b \cos ^2(c+d x)+b}{(a+b) \left (\frac {\sqrt {b} \cos ^2(c+d x)}{\sqrt {a+b}}+1\right )^2}} \Pi \left (\frac {\left (\sqrt {b}+\sqrt {a+b}\right )^2}{4 \sqrt {b} \sqrt {a+b}};2 \tan ^{-1}\left (\frac {\sqrt [4]{b} \cos (c+d x)}{\sqrt [4]{a+b}}\right )|\frac {1}{2} \left (\frac {\sqrt {b}}{\sqrt {a+b}}+1\right )\right )}{4 a \sqrt [4]{b} d \sqrt {a+b \cos ^4(c+d x)-2 b \cos ^2(c+d x)+b}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 1103
Rule 1216
Rule 1706
Rule 3215
Rubi steps
\begin {align*} \int \frac {\csc (c+d x)}{\sqrt {a+b \sin ^4(c+d x)}} \, dx &=-\frac {\operatorname {Subst}\left (\int \frac {1}{\left (1-x^2\right ) \sqrt {a+b-2 b x^2+b x^4}} \, dx,x,\cos (c+d x)\right )}{d}\\ &=\frac {\left ((a+b) \left (-1+\frac {\sqrt {b}}{\sqrt {a+b}}\right )\right ) \operatorname {Subst}\left (\int \frac {1+\frac {\sqrt {b} x^2}{\sqrt {a+b}}}{\left (1-x^2\right ) \sqrt {a+b-2 b x^2+b x^4}} \, dx,x,\cos (c+d x)\right )}{a d}+\frac {\left (\sqrt {b} \left (\sqrt {b}-\sqrt {a+b}\right )\right ) \operatorname {Subst}\left (\int \frac {1}{\sqrt {a+b-2 b x^2+b x^4}} \, dx,x,\cos (c+d x)\right )}{a d}\\ &=-\frac {\tan ^{-1}\left (\frac {\sqrt {-a} \cos (c+d x)}{\sqrt {a+b-2 b \cos ^2(c+d x)+b \cos ^4(c+d x)}}\right )}{2 \sqrt {-a} d}+\frac {\sqrt [4]{b} \sqrt [4]{a+b} \left (\sqrt {b}-\sqrt {a+b}\right ) \left (1+\frac {\sqrt {b} \cos ^2(c+d x)}{\sqrt {a+b}}\right ) \sqrt {\frac {a+b-2 b \cos ^2(c+d x)+b \cos ^4(c+d x)}{(a+b) \left (1+\frac {\sqrt {b} \cos ^2(c+d x)}{\sqrt {a+b}}\right )^2}} F\left (2 \tan ^{-1}\left (\frac {\sqrt [4]{b} \cos (c+d x)}{\sqrt [4]{a+b}}\right )|\frac {1}{2} \left (1+\frac {\sqrt {b}}{\sqrt {a+b}}\right )\right )}{2 a d \sqrt {a+b-2 b \cos ^2(c+d x)+b \cos ^4(c+d x)}}-\frac {\sqrt [4]{a+b} \left (\sqrt {b}-\sqrt {a+b}\right )^2 \left (1+\frac {\sqrt {b} \cos ^2(c+d x)}{\sqrt {a+b}}\right ) \sqrt {\frac {a+b-2 b \cos ^2(c+d x)+b \cos ^4(c+d x)}{(a+b) \left (1+\frac {\sqrt {b} \cos ^2(c+d x)}{\sqrt {a+b}}\right )^2}} \Pi \left (\frac {\left (\sqrt {b}+\sqrt {a+b}\right )^2}{4 \sqrt {b} \sqrt {a+b}};2 \tan ^{-1}\left (\frac {\sqrt [4]{b} \cos (c+d x)}{\sqrt [4]{a+b}}\right )|\frac {1}{2} \left (1+\frac {\sqrt {b}}{\sqrt {a+b}}\right )\right )}{4 a \sqrt [4]{b} d \sqrt {a+b-2 b \cos ^2(c+d x)+b \cos ^4(c+d x)}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [C] time = 31.47, size = 63281, normalized size = 134.93 \[ \text {Result too large to show} \]
Warning: Unable to verify antiderivative.
[In]
[Out]
________________________________________________________________________________________
fricas [F(-1)] time = 0.00, size = 0, normalized size = 0.00 \[ \text {Timed out} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {\csc \left (d x + c\right )}{\sqrt {b \sin \left (d x + c\right )^{4} + a}}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [F] time = 1.54, size = 0, normalized size = 0.00 \[ \int \frac {\csc \left (d x +c \right )}{\sqrt {a +b \left (\sin ^{4}\left (d x +c \right )\right )}}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {\csc \left (d x + c\right )}{\sqrt {b \sin \left (d x + c\right )^{4} + a}}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.00 \[ \int \frac {1}{\sin \left (c+d\,x\right )\,\sqrt {b\,{\sin \left (c+d\,x\right )}^4+a}} \,d x \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {\csc {\left (c + d x \right )}}{\sqrt {a + b \sin ^{4}{\left (c + d x \right )}}}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________